Skip to content

Use time.perf_counter_ns#30

Open
mjpieters wants to merge 1 commit intocodewars:masterfrom
mjpieters:perf_counter_ns
Open

Use time.perf_counter_ns#30
mjpieters wants to merge 1 commit intocodewars:masterfrom
mjpieters:perf_counter_ns

Conversation

@mjpieters
Copy link

This gives an integer number of nanoseconds, with far greater
precision than the timeit.default_timer == time.perf_counter timer
which provides a float (double) value in seconds.

This gives an integer number of nanoseconds, with far greater
precision than the `timeit.default_timer` == `time.perf_counter` timer
which provides a float (double) value in seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant